package com.AAA.entity.sds;

import java.io.Serializable;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;
@Table(name = "t_sds_record")
@Data
@NoArgsConstructor
@AllArgsConstructor
//@ApiModel(value = "TSdsRecord)", description = "")
public class TSdsRecordren implements Serializable {
    private static final long serialVersionUID = 326781477906166873L;
    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC",strategy = GenerationType.IDENTITY)
    private Integer id;
    @Column(name = "username")
//@ApiModelProperty(value = "${column.comment}")
    private String username;

    @Column(name = "tel")
//@ApiModelProperty(value = "手机号")
    private String tel;

    @Column(name = "yqcode")
//@ApiModelProperty(value = "邀请码")
    private String yqcode;

    @Column(name = "createtime")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
//@ApiModelProperty(value = "创建时间")
    private Date createtime;

    // 选项答案
    @Transient
    private TSds tSds = new TSds();

    //抑郁类型
    private String  degree;
    //标准分
    private Integer score;


    //人数
    private String numberren;
    //抑郁程度
    private String degreeofdepression;
}